package com.suse.lhw.hms.foodserver.pojo.input_POJO;

import com.suse.lhw.hms.foodserver.domin.FUnit;
import lombok.Data;

import java.util.List;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.foodserver.pojo.input_POJO
 * @ClassName: ModelUnitAndIfo
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/6/2 21:01
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/6/2 21:01
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Data
public class ModelUnitAndIfo {
    //fm

    private int modelId;

    private String name;
    /**
     * 食物图片地址
     */
    private String imgurl;


    /**
     * 描述
     */
    private String fmdescription;


    //ifo


    private String ifodescroption;

    /**
     * 碳水化合物，每100g
     */
    private Double carbohydrate;

    /**
     * 蛋白质，每100g
     */
    private Double protein;

    /**
     * 脂肪，每100g
     */
    private Double fat;

    private String tag;

    private String ortherNutrient;

    List<FUnit> list;

    public ModelUnitAndIfo(int modelId, String name, String imgurl, String fmdescription, String ifodescroption, Double carbohydrate, Double protein, Double fat, String tag, String ortherNutrient, List<FUnit> list) {
        this.modelId = modelId;
        this.name = name;
        this.imgurl = imgurl;
        this.fmdescription = fmdescription;
        this.ifodescroption = ifodescroption;
        this.carbohydrate = carbohydrate;
        this.protein = protein;
        this.fat = fat;
        this.tag = tag;
        this.ortherNutrient = ortherNutrient;
        this.list = list;
    }
}
